export const IP = window.location.host.split(':')[0]
const socket = new WebSocket(`ws://${IP}:8002`);
socket.addEventListener('open', () => {
    console.log('WebSocket connected');
});
export default socket